home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1703 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.1 KB

  1. Path: redstone.interpath.net!usenet
  2. From: fortunat@interpath.com (Jumpstile Turner)
  3. Newsgroups: comp.graphics.algorithms,comp.lang.c++,comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.win32
  4. Subject: Re: IJG JPEG Engine and Win32
  5. Date: 10 Jan 1996 18:52:31 GMT
  6. Organization: Completely unorganized
  7. Message-ID: <4d11tg$56q@redstone.interpath.net>
  8. References: <4cemir$6vb@redstone.interpath.net> <TGL.96Jan3202549@netcom21.netcom.com> <TGL.96Jan5065424@netcom21.netcom.com> <4cpn1r$gm0@redstone.interpath.net> <4crai5$ear@hades.rz.uni-sb.de>
  9. NNTP-Posting-Host: fortunat.pdial.interpath.net
  10. X-Newsreader: WinVN 0.99.7
  11.  
  12. In article <4crai5$ear@hades.rz.uni-sb.de>, rajsta@med-rz.uni-sb.de 
  13. said:
  14. >
  15. >fortunat@interpath.com (Jumpstile Turner) wrote:
  16. >
  17. >>  Jmemnobs.c.  After much fudging around with the code I finally 
  18. >>got it going. I'm not sure exactly what change made the difference. 
  19. >> I've had so many problems getting this thing to compile my head is 
  20. >>spinning.  I think I'm going to go get VC++ 4.0. :)  
  21. >
  22. >I do not know if this will help you with the api stuff. why don't you
  23. >stay with the standard library routines for malloc() read() etc. ?
  24. >they work fine. I found that getting the IJG library running with BC
  25. >4.x was simple enough. If you want to save the work, i can send you my
  26. >port with .IDE file, based on IJG v.5
  27. >
  28.  
  29.    Well, I've got it running like a champ now. Thanks for the offer 
  30. though.  Incidently, malloc() and free() are measureably slower under 
  31. Windows 95.  These generate calls to GlobalAlloc which are still in the 
  32. Win32 API just for compatability. Under Win32 you want to use HeapAlloc 
  33. or VirtualAlloc if you can.  I've also been looking at sucking the JPG 
  34. files into RAM and decoding them from ram because JPG's tend to be 
  35. rather small while they're compressed. I'm not sure if I'll gain any 
  36. speed benefit from doing so yet.  
  37.  
  38.     -Scott
  39.  
  40.  
  41. ------------------------------------------------
  42. Jumpstile Turner
  43. fortunat@interpath.com
  44. "Sing the Hare Hare, Dance the Hoochie Koo..."
  45. ------------------------------------------------
  46.  
  47.